package com.hua.yuan.userlogin.business.api;

import android.support.annotation.NonNull;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * @Author: richsjeson.
 * @Description: TODO()
 * @Date:Created in 2018/12/28 1:18 AM.
 * @Modified By:
 */
public interface IUserSign {

    /**
     * 弹幕和私聊获取用户签名
     * @param token
     */
    @FormUrlEncoded
    @POST("/api/live/generate_user_sig")
    Call<String> getUserSig(@NonNull @Field( "token") String token, @NonNull @Field("type") String type);
}
